﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MesProjectWinform.Production.Dto.Output.ProductionPlaning
{
    public class GanttTask
    {
        public int Id { get; set; }
        public int? ParentId { get; set; } // 产线为null，工单为产线Id
        public string Name { get; set; }   // 工单号或产线名
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public int Progress { get; set; }
        public string Status { get; set; } // 正常/委外/维修等
        public string DisplayText { get; set; } // 显示在任务条上的内容
    }
}
